You can configure passwordless SSH
for SLX-OS and TPVM.
About this task
Follow this procedure to configure
passwordless SSH for SLX-OS and TPVM using the SLX command line.Note
- The tpvm config trusted-peer
add command updates the SSH configuration only for the root
user of TPVM. For other users, see Configure Passwordless SSH for SLX-OS Releases earlier than 20.2.3 to
manually transfer the SSH credentials for SLX-OS releases prior to
20.2.3.
- The tpvm config trusted-peer
add command generates RSA keys. If your organization needs a
different server key type, you must configure it manually using the
ssh-keygen. Append the .pub file contents into the remote TPVM /root/.ssh/authorized_keys file.
Procedure
-
To configure a trusted peer, run the following command:
device# tpvm config trusted-peer add <peer-ip> sudo-user <peer-sudo-user> password <peer-sudo-user-password>
-
To display a trusted peer
information, run the following command:
device# show tpvm config trusted-peer
-
To remove a trusted peer, run
the following command:
device# tpvm config trusted-peer remove <peer-ip> sudo-user <peer-sudo-user> password <peer-sudo-user-password>`